package org.br.erp.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@TableName("keyresult")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="keyresult对象", description="基础参数")
@Entity
public class keyresult implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;

    @Column(length = 32)
    private String keyarea;

    @Column(length = 32)
    private String key;

    @Column(length = 100)
    private String keyvalue;

    @Column(length = 100)
    private String keyremarks;
}
